package com.thinkgem.dingdan.common.utils;

public abstract class LogIdentifier {

	public static final String PREFIX_IDENTIFIER = "<<<<<<<<<<----------";
	public static final String SUFFIX_IDENTIFIER = "---------->>>>>>>>>>";

	public static final String TIME_CONSUMING = "一共耗时: ";
	public static final String MILLISECOND = "ms";
	public static final Long START_TIME = System.nanoTime();
	public static final Long END_TIME = System.nanoTime();

	public static String getLineInfo() {
		StackTraceElement ste = new Throwable().getStackTrace()[1];
		return ste.getFileName() + ": Line " + ste.getLineNumber();
	}

}
